package com.tebiecloud.mpweixin.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 * @author tebie
 * @date 2019-10-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MpweixinReceiveMggLog extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "receive_mgg_id", type = IdType.ID_WORKER)
    private Long receiveMggId;

    /**
     * 领取人id
     */
    private Long receiveUserId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 领取人昵称
     */
    private String receiver;

    /**
     * 领取人头像
     */
    private String receiverHeadimgurl;

    /**
     * 分享人id
     */
    private Long sourceUserId;

    /**
     * 领取的乖乖币
     */
    private Integer coin;

}
